<div class="search">
    <div class="padding">
        <form method="get" action="http://www.google.com.hk/search" name="search">
        <input type="hidden" name="ie" value="UTF-8" />
        <input name="q" value="" id="sbi" />
        <button>Search</button>
        </form>
    </div>
</div>

<div id="main">
    <?php foreach ($categorys as $category):?>
    <dl class="view">
        <dt class="category"><?php echo $category->name?></dt>
        <dd class="items">
            <?php foreach ($category->items as $item):?>
            <?php echo CHtml::link($item->name, $item->url)?>
            <?php endforeach;?>
        </dd>
    </dl>
    <?php endforeach;?>
</div>